#include<iostream>
#include<string>
#define MaxSize 50
using namespace std;
typedef struct{
	char data[MaxSize];
	int length;
} SqString;
void StrAssign(SqString* &str,char s[]);
void DisStr(SqString* s);
int main()
{
	SqString* s;
	s=new SqString;
	s->length=0;
	char str[MaxSize];
	int i=0;
	str[i]=getchar();
	while(str[i]!='\n'){
		i++;
		str[i]=getchar();
	}
	str[i]='\0';
	StrAssign(s,str);
	for(i=0;i<s->length;i++){
		if(isupper(s->data[i])){
				if('F'<=s->data[i]&&s->data[i]<='Z')s->data[i]=s->data[i]-5;
				else s->data[i]=s->data[i]+21;
		}
	}
	DisStr(s);
}
void StrAssign(SqString* &str,char s[])
{
	int i;
	for(i=0;s[i];i++){
		str->data[i]=s[i];
	}str->length=i;
}
void DisStr(SqString* s)
{
	int i;
	if(s->length>0){
		for(i=0;i<s->length;i++)
			cout<<s->data[i];
	}
	else cout<<"NULL";
}
